Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency checkstyle to v10.22.0 #460

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
checkstyle (source) 10.18.2 -> 10.22.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

checkstyle/checkstyle (checkstyle)

v10.22.0

Compare Source

Checkstyle 10.22.0 - https://checkstyle.org/releasenotes.html#Release\_10.22.0

Breaking backward compatibility:

#​9280 - JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope'
#​15499 - Change default or IllegalIdentifierName

Bug fixes:

#​16641 - FileContents.getJavadocBefore(): Comments should not be skipped if it is not alone in line
#​16385 - JavadocTagContinuationIndentation Ignore indentation check when HTML tag break line
#​16628 - use SLL prediction mode for fast javadoc parsing to improve performance
#​43 - JavadocMethod: Javadoc Not Detected Above Multiline Comments
#​12817 - Incorrect Indentation errors for expression switches with google_checks.xml
#​6637 - SuppressWarningsHolder aliasList members don't act like aliases
#​13043 - Make references optional for link and linkplain tags
#​16005 - Parse errors if ``@see spans multiple lines
#​14446 - Parse error when Javadoc contains @snippet with code example that uses Java annotation

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Broken Link - Javadoc OpenJDK 8 Report in website, 404 Error
Github generate site fails to generate links with anchors.
Enforce file size on Java inputs
Badges in the README are missing
Fix existing cases of `getFileContents()` usage
Cover pitest survivals with tests
doc: Clarified the description of SummaryJavadoc check
align xmx args
There is nothing in few column in Active tool
Resolve Pitest Suppression in Pitest-Javadoc Profile
Define violation messages for all violations
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Create integration tests in CI to alarm on breaking compatibility
improve logging
Reminder bot for issues
check-performance-regression workflow does not check Javadoc grammar performance
Update RegexpHeaderCheckTest to use verifyWithInlineConfigParser method
Links for examples of CLI page
Copy to clipboard image button for all sources
Static html for syntax highlight in web site
Update all non java Inputs of SuppressWithNearbyTextFilter to have txt extension
test execution is failing on non EN locales
Update HeaderCheckTest to use verifyWithInlineConfigParser method
Nothing in remark table in additional checks
Use bom artifact for junit version management

v10.21.4

Compare Source

Checkstyle 10.21.4 - https://checkstyle.org/releasenotes.html#Release\_10.21.4

Bug fixes:

#​15161 - AnnotationOnSameLine: FalseNegative when the annotation is on the same line of the modifer of the target class
#​16081 - PARAMETER_DEF in FinalLocalVariable doesn't seem to work in interfaces
#​16165 - Regression: CyclomaticComplexity.switchBlockAsSingleDecisionPoint does not work properly anymore (10.21.1)

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Resolve Pitest Suppression in Pitest-Javadoc Profile
Define violation messages for all violations
Improve documentation - how to add usage of `var` to check `IllegalType`?
Enforce file size on Java inputs
Strange echo failure for static message in github action execution
Remove '//ok' comments from Input files
Cover pitest survivals with tests

v10.21.3

Compare Source

Checkstyle 10.21.3 - https://checkstyle.org/releasenotes.html#Release\_10.21.3

Bug fixes:

#​16127 - The SarifLogger creates invalid JSON on Windows with unescaped paths
#​14787 - False Negative of ClassFanOutCheck with "new" Keyword
#​15683 - JavadocMethod: false positive on compact constructors for nested record classes
#​15967 - yield fails Indentation check in switch expressions

Other Changes:
Remove '//ok' comments from Input files
Clarification: no violation for preceding whitespaces for paragraph tag content
Cover pitest survivals with tests
Provide examples of commands and examples of output for most CLI parameters.
Link redirection is not working for VariableDeclarationUsageDistance
Define violation messages for all violations
update JavadocTokenTypes.java to new format of AST print
Resolve Pitest Suppression in Pitest-Javadoc Profile
AvoidSynchronizedStatement reported usage of synchronized
Enforce file size on Java inputs
Enable examples tests
Update doc for MissingSwitchDefault
Inprove website rendering
UI Overlap Issue in Checkstyle Documentation Sidebar
Source code syntax highlights in web pages
put validation for "(default)" in Inputs
Add support of filtered violation messages to BDD Inputs
Expand XPath IT Regression Testing
Workflow `regression-report.yml` should support of config bundles with extra configuration files (Header check)
FileTabCharacter: update doc to mention that only first violation is reported for default configuration

v10.21.2

Compare Source

Checkstyle 10.21.2 - https://checkstyle.org/releasenotes.html#Release\_10.21.2

Bug fixes:

#​15939 - lineWrappingIndentation falsely detects incorrect indentation for text blocks
#​16101 - ignoreFieldDeclaration property should have the highest priority in MagicNumberCheck

Other Changes:
dependency: bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0
Enable examples tests
Remove '//ok' comments from Input files
update JavadocTokenTypes.java to new format of AST print
Issue #​16077: Removed text under banner images in menu
Define violation messages for all violations
Website: Open External Links in New Tabs for Better User Experience
Enforce file size on Java inputs
use new nio jdk api instead of all api
Expand XPath IT Regression Testing
Test to ensure website checks/filters are in alphabetical order at summary pages
Expandable menu for mobile website

v10.21.1

Checkstyle 10.21.1 - https://checkstyle.org/releasenotes.html#Release\_10.21.1

Bug fixes:

#​11374 - UnusedLocalVariable: False Positive when inner class has same field as variable

Other Changes:
Refactor SummaryJavadoc to avoid null usage
Enable examples tests
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files
Resolve Pitest Suppression in Pitest-Javadoc Profile
Expand XPath IT Regression Testing

v10.21.0

Checkstyle 10.21.0 - https://checkstyle.org/releasenotes.html#Release\_10.21.0

New:

#​15985 - Expand Default Value of constantWaiverParentToken in MagicNumberCheck with All Operators

Other Changes:
Enable examples tests
GitHub action to execute latest checkstyle release on provided conf and source
https://checkstyle.org/checks/ Gives a 404
Refactor SummaryJavadoc to avoid null usage
Test to ensure website checks/filters are in alphabetical order
Expand XPath IT Regression Testing
Define violation messages for all violations.
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files

v10.20.2

Checkstyle 10.20.2 - https://checkstyle.org/releasenotes.html#Release\_10.20.2

Bug fixes:

#​15943 - ArrayIndexOutOfBoundsException on indentation check of try-with-resources
#​13061 - Solving parsing errors for missing description in block tags
#​14573 - JavadocType: False negative for unknown tag with no description
#​11584 - WriteTag reports violation with confusing message when there is no javadoc

Other Changes:
Remove '//ok' comments from Input files
Enable examples tests
doc: Fix Example3 in MagicNumberCheck Docs
Forbid Files.createTempDirectory in Checkstyle and replace with `@`TempDir
Expand XPath IT Regression Testing
avoid reliance on `File.createTempFile` implementation d…
Cover pitest survivals with tests
Fix existing cases of `getFileContents()` usage
Define violation messages for all violations.
OuterTypeNumber: provide java code snippets in documentation
JavadocParagraph: define in documentation list of validated block-tags
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
doc: add check-tfij-style project to 'Additional Checks'
Print patch command line for changes detected by checkerfrawork
update JavadocTokenTypes.java to new format of AST print
NeedBraces need clear description of allowSingleLineStatement

v10.20.1

Compare Source

Checkstyle 10.20.1 - https://checkstyle.org/releasenotes.html#Release\_10.20.1

Bug fixes:

#​15851 - google_checks: False positive on left curly brace in switch statement with lambda-like construct

Other Changes:
Enable examples tests
update JavadocTokenTypes.java to new format of AST print
IDEA inspection suppressions resulted from migration to v2022.3.3
update GSOC.md and CONTRIBUTING.md
Define violation messages for all violations.
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
JavadocParagraph documentation example s should be updated to same by structure
doc: BEGINNING_DEVELOPMENT.md
doc: improve README.md add CONTRIBUTING.md add GSOC.md
Cover pitest survivals with tests

v10.20.0

Compare Source

Checkstyle 10.20.0 - https://checkstyle.org/releasenotes.html#Release\_10.20.0

Breaking backward compatibility:

#​15687 - JavadocMethodCheck: removed unnecessary tokens from acceptable

New:

#​14424 - HideUtilityClassConstructor - Add option to skip validation based on list of annotations

Bug fixes:

#​15831 - google_checks.xml not allowing eol left curly for switch statement with lambda-like construct

Other Changes:
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
Enable examples tests
Missing test class for ConstructorsDeclarationGroupingCheck's documentation examples
Expand XPath IT Regression Testing
Define violation messages for all violations.
update JavadocTokenTypes.java to new format of AST print

v10.19.0

Compare Source

Checkstyle 10.19.0 - https://checkstyle.org/releasenotes.html#Release\_10.19.0

New:

#​9540 - WhitespaceAround: new property allowEmptySwitchBlockStatements
#​15263 - UnnecessaryParenthesesCheck does not flag unnecessary parentheses in conditional expression

Bug fixes:

#​15664 - false-negative in google_checks.xml for not being able to detect requirement of K & R style for FINALLY
#​15769 - google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes
#​15685 - JavadocParagraph does not work when paragraphs have their corresponding closing tag
#​15324 - Enforce preceding line break for opening braces of a case/default under switch in google_checks.xml
#​15733 - JavadocParagraph: report violation with column
#​15503 - JavadocParagraph: violate preceding P tag before block-level HTML tags
#​15716 - google_checks.xml: JavadocParagraph should have allowNewlineParagraph as false

Other Changes:
Enable examples tests
Add upwards compat for deprecated classes in maven-check…
Create README for Java grammar updates
Small font for first sentence of Check description
doc: update doc for EmptyBlock and extend example
Resolve Pitest Suppression in Pitest-Javadoc Profile
Review google style coverage table to remove links to closed issues
Define violation messages for all violations.
Expand XPath IT Regression Testing
New isOfType Method that Accepts List as its Parameter
Cover pitest survivals with tests
Fix all violations of JavadocParagrath check in checkstyle code base
Enhance Command Line documentation by organizing options in Tabular format
JavadocParagraph: update documentation
regression-report.yml should use yml files for list of projects
Create documentation of usage for regression-report.yml workflow
spelling: suppresion -`>` suppression
doc: Fix wording in SuppressionSingleFilter and SuppressionXpathSingleFilter
update JavadocParagraph's input files

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - "after 8am and before 11am every first day of month" in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 0496761 to f5289dd Compare January 26, 2025 18:41
@renovate renovate bot changed the title Update dependency checkstyle to v10.21.1 Update dependency checkstyle to v10.21.2 Jan 26, 2025
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from f5289dd to 86102ee Compare February 19, 2025 13:54
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 86102ee to 55f0f9c Compare February 19, 2025 14:05
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 55f0f9c to b5132ba Compare February 19, 2025 14:14
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from b5132ba to 5298533 Compare February 19, 2025 14:36
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 5298533 to 7059cb6 Compare February 23, 2025 16:42
@renovate renovate bot changed the title Update dependency checkstyle to v10.21.2 Update dependency checkstyle to v10.21.3 Feb 23, 2025
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview February 23, 2025 16:48 Abandoned
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 7059cb6 to 262c109 Compare February 24, 2025 09:02
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from 262c109 to c4f35bf Compare March 4, 2025 08:39
@renovate renovate bot changed the title Update dependency checkstyle to v10.21.3 Update dependency checkstyle to v10.21.4 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from c4f35bf to d8cc323 Compare March 17, 2025 11:51
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from d8cc323 to c46c602 Compare March 19, 2025 12:32
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from c46c602 to dd4add6 Compare March 24, 2025 18:42
@renovate renovate bot changed the title Update dependency checkstyle to v10.21.4 Update dependency checkstyle to v10.22.0 Mar 30, 2025
@renovate renovate bot force-pushed the renovate/automated-checks-non-major branch from dd4add6 to 91f3daf Compare March 30, 2025 16:28
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z bot requested a deployment to preview March 31, 2025 07:06 Abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants